<style>
#reportPozivaoci form{
	width:320px;
}
#reportPozivaoci form input[type=submit]{
	float:right;
	clear:both;
}
#reportPozivaoci form input[type=checkbox]{
	margin-top:10px;
}
#reportPozivaoci form label{
	width:50px;
	text-align:right;
	clear:both;
}
#reportPozivaoci form #filter_uplata{
	width:15px;
	display:none;
}
#reportPozivaoci form #info{
	float:left;
	font-size:11px;
	color:#aaa;
	margin-top:20px;
}
#reportPozivaoci #mainContainer{
	margin-left:2px;
	overflow:auto;
}
#reportPozivaoci #mainContainer table{
	font-size:11px;
}
#reportPozivaoci #mainContainer tr.head td{
	text-align:center;
}
#reportPozivaoci #mainContainer td{
	vertical-align:top;
}
#reportPozivaoci #mainContainer td.napomena{
	font-size:11px;
}
</style>
<div id="reportPozivaoci">
	<form action="javascript:void(0)" onsubmit="submitForm(this,'duznici.php','POST','setContent',1)"  class="area">
		<input type="hidden" name="a" value="pozivaoci" />
		<h1>Izveštaj pozivaoci</h1>
		
		<label class="left" for="filter_ugovor">ugovor:</label>
		<input type="text" name="filter_ugovor" id="filter_ugovor" value="{{$filter_ugovor}}" />
		
		<label class="left" for="filter_komitent">komitent:</label>
		<input type="text" name="filter_komitent" id="filter_komitent" value="{{$filter_komitent}}" />
		
		<label class="left" for="filter_kontakt">kontakt:</label>
		<input type="text" name="filter_kontakt" id="filter_kontakt" value="{{$filter_kontakt}}" />
		
		<label class="left" for="filter_radnik">radnik:</label>
		<select name="filter_radnik" id="filter_radnik">
			<option value="-1">---</option>
			{{%loop start radnik_id}}
			<option value="{{$radnik_id}}" {{$radnik_selected}}>{{$radnik_ime}}&nbsp;{{$radnik_prezime}}</option>
			{{%loop end}}
		</select>
		
		<input type="submit" value="filter" />
		<span id="info">{{$info}}</span>
	</form>
	<div id="mainContainer" style="clear:left" class="area">
		{{$comment_start}}
		<ul class="letter_filter" filterquery="{{$filter_query}}">
			<li><strong style="width:auto;">Strana:</strong></li>
			{{%loop start page}}
			<li><a href="javascript:void(0)" onclick="PageFilter(this,'duznici.php',{{$page}})" {{$current_page}}>{{$page}}</a></li>
			{{%loop end}}
		</ul><br clear="all" />
		<table>
			<tr class="head">
				<td>datum</td>
				<td>ugovor</td>
				<td>komitent</td>
				<td>kontakt</td>
				<td>radnik</td>
			</tr>
			{{%loop start index}}
			<tr>
				<td>{{$datum}}</td>
				<td><a title="detalji ugovora..." href="javascript:void(0)" onclick="ugovorDetails('{{$ugovor}}')">{{$ugovor}}</a></td>
				<td class="komitent">
					<a title="{{$komitent_id}}&nbsp;- svi podaci..." href="javascript:void(0)"onclick="blankTarget('LoadRSDoc(\'komitenti.php?a=displayOne&id={{$komitent_id}}\',\'setContent\')')">
						{{$komitent}}
					</a>
				</td>
				<td>{{$kontakt}}</td>
				<td>{{$radnik}}</td>
			</tr>
			{{%loop end}}
		</table>
		{{$comment_end}}
	</div>
</div>